package top.chmin.project.cloud.common.column.code.api;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * chmin
 * 2023/12/27 19:58
 * cloud-builder
 */
public interface ColumnCodeUpdateByFieldCode {

    @PostMapping("/au/columnCode/updateByFieldCode")
    void updateByFieldCode(@RequestBody Param param);

    @Getter
    @Setter
    @Accessors(chain = true)
    class Param {
        // 编码模板名称
        String codeName;
        // 属性编码
        String fieldCode;
    }

}
